package com.gp.model.dto;

import java.io.Serializable;

import com.gp.model.entity.SubmitInfoVo;

/**
 * @author: 弓成龙
 * @date : 2018年3月3日
 * @email : gcx909109@sina.cn
 * @description: 支付信息
 */
public class PayInfoVo {
  /*
   * *************** 订单的支付信息
   * 
   ****************/
  /** 订单编码 **/
  private String orderId;
  /** 金额 **/
  private int amount;
  /** 支付方式 **/
  private Integer payType;

  /*
   * *************** 订单的提交信息
   * 
   ****************/

  /** id **/
  private Long id;
  /** 收货人姓名 **/
  private String receiverName;
  /** 详细地址 **/
  private String receiverAddress;
  /** 收货人固话号码 **/
  private String receiverPhone;
  /** 优惠券编码 **/
  private String couponCode;
  /** 订单总金额（分） **/
  private String plusPrice;
  /** 优惠扣减金额（分） **/
  private String specialOffer;
  /** 订单最终应支付金额（分） **/
  private String totalPrice;
  /** 配送费用（分） **/
  private String transportfee;
  /** 配送方式 **/
  private String transportType;

  public SubmitInfoVo getSubmitInfo() {
    SubmitInfoVo s = new SubmitInfoVo(id, receiverName, receiverAddress, receiverPhone, couponCode,
        plusPrice, specialOffer, totalPrice, transportfee, transportType);
    s.setOrderCode(orderId);
    return s;
  }

  public Long getId() {
    return id;
  }

  public void setId(Long id) {
    this.id = id;
  }

  public String getReceiverName() {
    return receiverName;
  }

  public void setReceiverName(String receiverName) {
    this.receiverName = receiverName;
  }

  public String getReceiverAddress() {
    return receiverAddress;
  }

  public void setReceiverAddress(String receiverAddress) {
    this.receiverAddress = receiverAddress;
  }

  public String getReceiverPhone() {
    return receiverPhone;
  }

  public void setReceiverPhone(String receiverPhone) {
    this.receiverPhone = receiverPhone;
  }

  public String getCouponCode() {
    return couponCode;
  }

  public void setCouponCode(String couponCode) {
    this.couponCode = couponCode;
  }

  public String getPlusPrice() {
    return plusPrice;
  }

  public void setPlusPrice(String plusPrice) {
    this.plusPrice = plusPrice;
  }

  public String getSpecialOffer() {
    return specialOffer;
  }

  public void setSpecialOffer(String specialOffer) {
    this.specialOffer = specialOffer;
  }

  public String getTotalPrice() {
    return totalPrice;
  }

  public void setTotalPrice(String totalPrice) {
    this.totalPrice = totalPrice;
  }

  public String getTransportfee() {
    return transportfee;
  }

  public void setTransportfee(String transportfee) {
    this.transportfee = transportfee;
  }

  public String getTransportType() {
    return transportType;
  }

  public void setTransportType(String transportType) {
    this.transportType = transportType;
  }

  public String getOrderId() {
    return orderId;
  }

  public void setOrderId(String orderId) {
    this.orderId = orderId;
  }

  public int getAmount() {
    return amount;
  }

  public void setAmount(int amount) {
    this.amount = amount;
  }

  public Integer getPayType() {
    return payType;
  }

  public void setPayType(Integer payType) {
    this.payType = payType;
  }
}

